package com.foo.common.base.constants;

import com.google.common.collect.BiMap;
import com.google.common.collect.HashBiMap;

public enum GameTypesEnum {
	ACT(0), AVG(1), RPG(2), TAB(3), SPG(4), RTS(5), RAC(6), STG(7), SIM(8), FTG(
			9), MUG(10), PUZ(11), SLG(12), TCG(13), ETC(14);

	private final int myPNum;

	private GameTypesEnum(int myNum) {
		this.myPNum = myNum;
	}

	private int intValue() {
		return myPNum;
	}

	public static BiMap<String, Integer> biMap() {
		BiMap<String, Integer> myBiMap = HashBiMap.create();

		for (GameTypesEnum myEnum : GameTypesEnum.values()) {
			myBiMap.put(myEnum.toString(), myEnum.intValue());
		}
		System.out.println(myBiMap.toString());
		return myBiMap;
	}

	public static void main(String[] args) {
		GameTypesEnum.biMap();
	}

}
